import {add, sub} from './a.js';

let sum = add(1, 2);
let subres = sub(2, 1);

console.log('es6 模块化' + sum + ',' + subres);